package com.macro.mall.portal.dto;

import com.macro.mall.query.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 商品展览展品参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode
public class BmsExhibitionsActivitiesGoodsParam extends BaseQuery {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("展览活动id")
    private Long exhibitionsActivitiesId;
    @ApiModelProperty("展品名称")
    @NotNull(message = "展品名称不能为空")
    private String name;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("删除标记")
    private Boolean isDelete;

    @ApiModelProperty("展览活动展品图片路径")
    @NotNull(message = "展览活动展品图片不能为空")
    private String pic;

    @ApiModelProperty("封面")
    @NotNull(message = "展览活动封面不能为空不能为空")
    private Integer isCover;


}
